package model

import "time"

type SubscriptionItems struct {
	Id                  uint      `gorm:"id"`
	SubscriptionNo      string    `gorm:"subscription_no"`
	OrderNo             string    `gorm:"order_no"`
	CreditBizOrderId    string    `gorm:"credit_biz_order_id"`
	ItemPeriod          byte      `gorm:"period"`
	Status              string    `gorm:"status"`
	OrderDate           time.Time `gorm:"order_date"`
	PlanDeductionTime   time.Time `gorm:"plan_deduction_time"`
	ActualDeductionTime time.Time `gorm:"actual_deduction_time"`
	DeductionAmount     int       `gorm:"deduction_amount"`
	DeductionFailTimes  int       `gorm:"deduction_fail_times"`
	CreateTime          time.Time `gorm:"create_time"`
	UpdateTime          time.Time `gorm:"update_time"`
	DeleteTime          time.Time `gorm:"delete_time"`
}
